package com.flyoil.petromp.entity.entity_service;

import com.flyoil.petromp.base.BaseEntity;

import java.util.List;

/**
 * Created by songzhiiyn on 2017/10/11.
 * 供应商档案列表的实体类
 */

public class SupplierListEntity extends BaseEntity {


    /**
     * data : {"list":[{"id":3,"sn":"string","name":"string","createdDateLabel":"2017-11-28"}],"total":1,"pageNumber":1,"pageSize":20}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"id":3,"sn":"string","name":"string","createdDateLabel":"2017-11-28"}]
         * total : 1
         * pageNumber : 1
         * pageSize : 20
         */

        private int total;
        private int pageNumber;
        private int pageSize;
        private List<ListBean> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(int pageNumber) {
            this.pageNumber = pageNumber;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 3
             * sn : string
             * name : string
             * createdDateLabel : 2017-11-28
             */

            private int id;
            private String sn;
            private String name;
            private String createdDateLabel;

            public ListBean(String name, String sn, String createdDateLabel) {
                this.sn = sn;
                this.name = name;
                this.createdDateLabel = createdDateLabel;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getSn() {
                return sn;
            }

            public void setSn(String sn) {
                this.sn = sn;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCreatedDateLabel() {
                return createdDateLabel;
            }

            public void setCreatedDateLabel(String createdDateLabel) {
                this.createdDateLabel = createdDateLabel;
            }
        }
    }
}
